﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SD.Entities
{
    public class Premise
    {
        public string PremiseID;
        public string LocationName;
        public string KnownAs;
        public Organization LocationOrg;
        public int LocationStatus;
        public DateTime LocationStatusDate;
        public Address Address;
        public Town Town;
        public County County;
        public Country Country;
        public bool PrimaryLocation;
        public bool LocationManaged;
        public bool StNetwork;
        public ReferenceData Locationtype;
        public string LocationDescription;
        public string Phone;
        public string Fax;
        public string Minicomm;
        public bool IsNewShop;
        public DateTime ShopFlagDate;
        public bool SpecialListShop;
        public bool IsActive;

        /// <summary>
        /// Constructor of Premise
        /// </summary>
        public Premise()
        {
            LocationOrg = new Organization();
            Address = new Address();
            Town = new Town();
            County = new County();
            Country = new Country();
            Locationtype = new ReferenceData();

        }
    }
}
